<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean"%> 
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core"  prefix="c"%>
<html>
	<head>
		<title>register.jsp</title>
	</head>
	<body>
	   用户注册：<br/>
	   
		<form method="post" action="register.do">
			姓名：<input type="text" name="name" value="" /> <br/>
			密码：<input type="password" name="password" value="" /> <br/>
			确认密码：<input type="password" name="confirmpwd"/> <br/>
			E-Mail：<input type="text" name="email"/> <br/>
			<input type="submit" name="register" value="注册"/>
			<input type="reset" value="重置">
			${errorMsg}
		</form>

		<a href="<c:url value="/login.do?method=list"/>">查看所有记录</a>
		<a href="/laputa/JSP/lookforuser.jsp">查看用户</a>
	</body>
</html>
